package dancetiktokmodelmysql

import (
	"gorm.io/gorm"
	"time"
)

// DanceRingActivityModelPrizeConditions 戒指活动模式奖励条件
type DanceRingActivityModelPrizeConditions struct {
	Id         int64          `gorm:"primaryKey;autoIncrement;comment:id" json:"id"`
	ActivityId int64          `json:"activityId" gorm:"column:activity_id;type:bigint;default:0;not null;comment:活动id"`
	ModelType  int64          `json:"modelType" gorm:"column:model_type;type:bigint;default:0;not null;comment:模式类型 1:求婚 2:订婚 3:结婚 4:求婚半价"`
	ModelStage int64          `json:"modelStage" gorm:"column:model_stage;type:bigint;default:0;not null;comment:模式阶段 1:开启模式 2:福气值打满"`
	ElementNo  int64          `json:"elementNo" gorm:"column:element_no;type:bigint;default:0;not null;comment:奖品编号"`
	EffectTime int64          `json:"effectTime" gorm:"column:effect_time;type:bigint;default:0;not null;comment:奖品时效小时"`
	ElementNum int64          `json:"elementNum" gorm:"column:element_num;type:bigint;default:0;not null;comment:奖品数量"`
	CreateId   int64          `json:"create_id" gorm:"column:create_id;type:bigint;default:0;not null;comment:更新人id"`
	UpdateId   int64          `json:"update_id" gorm:"column:update_id;type:bigint;default:0;not null;comment:更新人id"`
	CreatedAt  time.Time      `json:"created_at" gorm:"column:created_at;type:datetime"`
	UpdatedAt  time.Time      `json:"updated_at" gorm:"column:updated_at;type:datetime"`
	DeletedAt  gorm.DeletedAt `gorm:"index;type:datetime" json:"-"`
}
